package tp.pr5;

import tp.pr5.items.ItemList;

public interface PlayerObserver {
	
	public void	inventoryUpdate(ItemList inventory);
	//Notifies that the player inventory has changed
	
	public void	itemEmpty(java.lang.String itemName);
	//Notifies that an item is empty
	
	public void	itemLooked(java.lang.String description);
	//Notifies that the player wants to examine an item
	
	public void	itemUsed(java.lang.String itemName);
	//Notifies that an item has been used
	
	public void	playerDead();
	//Notifies the player's death
	
	public void	playerLookedInventory(ItemList inventory);
	//Notifies that the player looked the inventory
	
	public void	playerUpdate(int newHealth, int newScore);
	//Notifies that the player attributes (health and score) have changed

}
